package com.csce.domain.entity.score.excel;

import com.osce.common.annotation.Excel;
import lombok.*;
import org.apache.poi.ss.usermodel.IndexedColors;

/**
 * @author zzxjs
 * @since 2023/9/15
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@ToString
@EqualsAndHashCode(callSuper = true)
public class ExamStudent extends ExamExcelBean {

    /**
     * 代号
     */
    @Excel(name = "代号", headerBackgroundColor = IndexedColors.LIGHT_GREEN, headerColor = IndexedColors.BLACK)
    private String code;

    /**
     * 考生名称
     */
    @Excel(name = "考生名称", headerBackgroundColor = IndexedColors.LIGHT_GREEN, headerColor = IndexedColors.BLACK)
    private String user;

    public ExamStudent(String exName, String date, String time, String skill, String place, String start, String end, String code, String user) {
        super(exName, date, time, skill, place, start, end);
        this.code = code;
        this.user = user;
    }
}
